<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class MobileDevice extends Model
{
    protected $fillable = [
        'devices_token', 'devices_sys', 'language', 'exchange_rate_id',
    ];

    public function exchange()
    {
        return $this->hasOne(ExchangeRate::class, 'id', 'exchange_rate_id')->withDefault();
    }
}
